$OpenBSD: patch-src_swft_readpng_c,v 1.2 2015/12/30 16:42:38 jasper Exp $
--- src/swft/readpng.c.orig	Thu Oct 31 04:10:21 2013
+++ src/swft/readpng.c	Wed Dec 30 17:38:36 2015
@@ -88,7 +88,7 @@ int readpng_init(FILE *infile, ulg *pWidth, ulg *pHeig
      * have used slightly more general png_sig_cmp() function instead */
 
     fread(sig, 1, 8, infile);
-    if (!png_check_sig(sig, 8))
+    if (png_sig_cmp(sig, 0, 8))
         return 1;   /* bad signature */
 
 
